QuickTime 3 Reference

| Previous | Chapter Contents | Chapter Top | Next |

Push

kPushTransitionType ('push')

A push is an effect where one source image replaces another, with both sources moving at the same time. For example, source A would typically occupy the entire screen, and then source B would slide in from the right, while source A slides out in the opposite direction. Unlike the slide effect, both source A and source B are moving. The push effect executes from one of four fixed directions: top, right, bottom, or left.

Example:

The push effect takes a maximum of two sources and has two parameters.

Parameters

Use the descriptions below to help you understand what the parameters do. To learn how to use parameter atoms, see "Adding Video Effects to a QuickTime Movie"

Name

Code

QTAtom Type

Description

Percentage

'pcnt'

kParameterTypeDataFixed

Always a tween

This parameter contains a tween. As the effect progresses, QuickTime renders the frame of the effect indicated by the tween's current value, as a percentage of the whole effect. For example, if the tween goes from 0 to 100, the effect renders completely; if the tween goes from 25 to 75, rendering begins 25% into the effect and terminates 75% through the effect.

From direction

'from'

kParameterTypeDataEnum

Contains one of four directions from which source B will replace source A: top, right, bottom, or left.

From Direction Enum

The from direction parameter can contain the following values:

  1. Top
  2. Right
  3. Bottom
  4. Left

© 1998 Apple Computer, Inc.

| Previous | Chapter Contents | Chapter Top | Next |